<!DOCTYPE html>
<html>
<head>

</head>
<body>


<script type="text/javascript">
    var str="Hello,JREDU杰瑞教育JREDU！";
    console.log(str.search(/JREDU/,str));
    console.log(str.match(/杰瑞/,str));
    console.log(str.replace(/JREDU/,"jredu"));
    console.log(str.split(/JREDU/));
</script>
</body>
</html>